home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
biz
/
haage
/
WarpUP_V31.lha
/
WarpUP-WarpOS
/
include
/
powerpc
/
semaphoresPPC.i
< prev
next >
Wrap
Text File
|
1998-03-06
|
925b
|
42 lines
IFND POWERPC_SEMAPHORESPPC_I
POWERPC_SEMAPHORESPPC_I SET 1
**
** $VER: SemaphoresPPC.i 12.0 (1.8.97)
**
** Structures related to WarpOS semaphore handling
**
IFND EXEC_TYPES_I
include exec/types.i
ENDC
IFND EXEC_SEMAPHORES_I
include exec/semaphores.i
ENDC
IFND POWERPCLIB_V7 ;only for V8+
**** SignalSemaphorePPC structure used by InitSemaphorePPC, ObtainSemaphorePPC,
**** AttemptSemaphorePPC, FreeSemaphorePPC, AddSemaphore, RemSemaphore
STRUCTURE SSPPC,0
STRUCT SSPPC_SS,SS_SIZE ;signal semaphore struct
APTR SSPPC_RESERVE ;private
LABEL SSPPC_SIZE
**** return values of InitSemaphore and AddSemaphore
SSPPC_SUCCESS = -1
SSPPC_NOMEM = 0
**** return values of AttemptSemaphore
ATTEMPT_SUCCESS = -1
ATTEMPT_FAILURE = 0
ENDC ;POWERPCLIB_V7
ENDC ;SEMAPHORES_PPC_I